package com.znsd.study.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.znsd.entitys.MsgInfo;
import com.znsd.study.dao.MsgDao;
import com.znsd.study.service.MsgService;

@Service
public class MsgServiceImpl implements MsgService {

	@Autowired
	private MsgDao msgDao;
	
	@Override
	public List<MsgInfo> queryMsg(int recp_id) {
		return msgDao.queryMsg(recp_id);
	}

	@Override
	public int delMsg(int m_id) {
		return msgDao.delMsg(m_id);
	}
	
}
